package com.jiuwan.gamepass.pojo.authPojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * sys_user
 * @author 
 */
@Data
public class SysUser implements Serializable {
    /**
     * 用户id
     */
    @TableField(value = "id")
    private Integer id;

    /**
     * 用户名称
     */
    @TableField(value = "username")
    private String username;

    /**
     * 用户密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 1:过审中心   0：非过审中心
     */
    private Integer org_id;
    @TableField(value = "org_id",exist = false)
    private Integer orgId;


    /**
     * 关联角色表
     */

    private Integer role_id;


    @TableField(value = "role_id",exist = false)
    private Integer roleId;


    /**
     * 1：正常用户  0：被禁用户  2：root
     */
    private Integer flag;


    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}